package cn.bs.domain.pojo;

import java.util.Date;

public class CommentPOJO {

    private Integer id;
    private Integer postId;//评论帖子id
    private Integer userId;//发布评论的用户id
    private String userName;//发布评论的用户名
    private String content;//评论内容
    private Integer sonCount;//子评论数量
    private Integer statue;//状态，0：正常，1：删除
    private Date date;//评论时间

    public CommentPOJO() {
    }

    public CommentPOJO(Integer id, Integer postId, Integer userId,
                       String userName, String content,
                       Integer sonCount, Date date, Integer statue) {
        this.id = id;
        this.postId = postId;
        this.userId = userId;
        this.userName = userName;
        this.content = content;
        this.sonCount = sonCount;
        this.date = date;
        this.statue = statue;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPostId() {
        return postId;
    }

    public void setPostId(Integer postId) {
        this.postId = postId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getSonCount() {
        return sonCount;
    }

    public void setSonCount(Integer sonCount) {
        this.sonCount = sonCount;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Integer getStatue() {
        return statue;
    }

    public void setStatue(Integer statue) {
        this.statue = statue;
    }
}
